package com.cbox.controller;

import java.util.Date;

/**
 * Created by Administrator on 2017-12-05.
 */
public class ProductImageController {
    private long id;
    private long productId;
    private String location;
    private String position;
    private short isMain;
    private Date inTime;

    public ProductImageController(long id, long productId, String location, String position, short isMain, Date inTime) {
        this.id = id;
        this.productId = productId;
        this.location = location;
        this.position = position;
        this.isMain = isMain;
        this.inTime = inTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public short getIsMain() {
        return isMain;
    }

    public void setIsMain(short isMain) {
        this.isMain = isMain;
    }

    public Date getInTime() {
        return inTime;
    }

    public void setInTime(Date inTime) {
        this.inTime = inTime;
    }
}
